package com.linoer.cloud.alo.accountservice.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.linoer.cloud.alo.accountservice.domain.Account;
import com.linoer.cloud.alo.common.domain.ObjectResponse;
import com.linoer.cloud.alo.common.domain.dto.AccountDTO;

/**
 * @Classname AccountService
 * @Description TODO
 * @Date 2021/6/22 4:32 下午
 * @Created by muhenglv
 */
public interface AccountService extends IService<Account> {
    /**
     * 从用户账户中借出
     */
    ObjectResponse decreaseAccount(AccountDTO accountDTO);
}
